package com.ptl.bp.dto;

import com.ptl.bp.entity.BatteryPassport;
import com.ptl.bp.entity.BatteryPassport.BatteryCategory;
import com.ptl.bp.entity.BatteryPassport.BatteryStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "电池护照查询DTO")
public class BatteryPassportQueryDTO {
    @Schema(description = "电池护照的唯一标识符")
    private String batteryPassportIdentifier;

    @Schema(description = "电池类别")
    private BatteryCategory batteryCategory;

    @Schema(description = "电池状态")
    private BatteryStatus batteryStatus;

    @Schema(description = "生产日期起始")
    private LocalDateTime manufactureStart;

    @Schema(description = "生产日期结束")
    private LocalDateTime manufactureEnd;

    @Schema(description = "重量最小值(kg)")
    private Double minWeight;

    @Schema(description = "重量最大值(kg)")
    private Double maxWeight;

    @Schema(description = "状态")
    private BatteryPassport.PassportDocumentStatus documentStatus;
}